package com.bambooshoot.domain;

import com.bambooshoot.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 白酒记录对象 biz_liquor_records
 *
 * @author mxc
 * @date 2024-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_liquor_records")
public class BizLiquorRecords extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id_")
    private Long id;

    /**
     * 购买日期
     */
    @TableField(value = "purchase_date")
    private Date purchaseDate;

    /**
     * 白酒品牌
     */
    @TableField(value = "brand_")
    private Integer brand;

    /**
     * 酒的简称
     */
    @TableField(value = "short_name")
    private String shortName;

    /**
     * 酒的具体名称
     */
    @TableField(value = "name_")
    private String name;

    /**
     * 规格:如 “1L*1”“500ml*6” 等
     */
    @TableField(value = "specification_")
    private String specification;

    /**
     * 酒精度数
     */
    @TableField(value = "degree_")
    private String degree;

    /**
     * 体积，单位：毫升
     */
    @TableField(value = "volume_")
    private Long volume;

    /**
     * 平台名称
     */
    @TableField(value = "platform_")
    private Integer platform;

    /**
     * 店铺名称
     */
    @TableField(value = "shop_name")
    private String shopName;

    /**
     * 价格(元)
     */
    @TableField(value = "price_")
    private BigDecimal price;

    /**
     * 斤价(元)
     */
    @TableField(value = "unit_price")
    private BigDecimal unitPrice;

    /**
     * 备注
     */
    @TableField(value = "remark_")
    private String remark;


}
